//
//  UIScreen+Extension.swift
//  czbkiosweibo5
//
//  Created by zhangping on 15/10/17.
//  Copyright © 2015年 zhangping. All rights reserved.
//

import UIKit

// MARK: - 扩展 UIScreen
extension UIScreen {
    
    /// width: 只读计算性属性
    class var width: CGFloat {
        return UIScreen.mainScreen().bounds.width
    }
    
    class var height: CGFloat {
        return UIScreen.mainScreen().bounds.height
    }
}